package com.cloud.poetry.base.feign.fallback.impl;

import com.cloud.poetry.base.entity.User;
import com.cloud.poetry.base.entity.po.ChatLog;
import com.cloud.poetry.base.feign.SystemFeignClient;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.HashMap;
import java.util.Map;

/**
 * @author mengxj
 */
@Slf4j
public class SystemFeignClientImpl implements SystemFeignClient {

    @Setter
    private Throwable throwable;

    @Override
    public void saveChatLog(ChatLog chatLog) {
        log.error("system feign saveChatLog error! hystrix 降级处理，param {}", chatLog, throwable);
    }
}
